package br.com.salaodebeleza.persistence;

import java.util.List;

import br.com.salaodebeleza.domain.TbCliente;
import br.gov.frameworkdemoiselle.stereotype.PersistenceController;
import br.gov.frameworkdemoiselle.template.JPACrud;

@PersistenceController
public class TbClienteDAO extends JPACrud<TbCliente, Long> {

	private static final long serialVersionUID = 1L;

	public List<TbCliente> findClientes() {
		String jpql = "select cliente from tb_cliente cliente";
		return super.findByJPQL(jpql);
	}
}
